package com.pd.backend.domain.pojo;


import com.pd.backend.domain.entity.PdAgency;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 机构pojo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Agency extends PdAgency{

    /**
     * 子机构集合
     */
    @ApiModelProperty(value = "子机构集合", position = 3)
    private List<Agency> subAgency;
}
